package com.example.industryapp.dao;

import com.example.industryapp.dataobject.OrderDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderDAO {
    //增加
    int add(OrderDO orderDO);
    //修改
    int update(OrderDO orderDO);
    //删除
    int delete(@Param("id") long id);

    List<OrderDO> findAll();


}
